package cn.bugstack.service.rpc;

import cn.bugstack.domain.vo.ProductVO;
import com.alipay.api.domain.ProducerVO;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @author: zhongkui 1365693530@qq.com
 * @Date: 2025/3/4
 */
@Service
public class ProductRpc {

    public ProductVO queryProductByProductId(String productId) {
        ProductVO productVO = new ProductVO();
        productVO.setProductId(productId);
        productVO.setProductName("测试商品");
        productVO.setProductDesc("测试商品描述");
        productVO.setPrice(new BigDecimal("8.22"));
        return productVO;
    }

}
